package org.celery.modules.goods.service.impl;

import org.celery.modules.goods.entity.GoodsPackage;
import org.celery.modules.goods.vo.GoodsPackageVO;
import org.celery.modules.goods.mapper.GoodsPackageMapper;
import org.celery.modules.goods.service.IGoodsPackageService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商品套餐表 服务实现类
 *
 * @author Celery
 * @since 2022-04-05
 */
@Service
public class GoodsPackageServiceImpl extends BaseServiceImpl<GoodsPackageMapper, GoodsPackage> implements IGoodsPackageService {

	@Override
	public IPage<GoodsPackageVO> selectGoodsPackagePage(IPage<GoodsPackageVO> page, GoodsPackageVO goodsPackage) {
		return page.setRecords(baseMapper.selectGoodsPackagePage(page, goodsPackage));
	}

}
